export default class TTmessage{
  //from,targetId,content,msgType,name,size,url,number,title,imgUrl,summary,customType,btnTxt,enable
  constructor (from,targetId,content,msgType,name,size,imageUri,number,title,subTitle,imgUrl,summary,customType,btnTxt,enable){
    this.from      = from, //发送人
    this.to        = targetId, //目标
    this.content   = content,// 发送内容 缩略图 以及附件url
    this.msgType   = msgType,//发送类型
    this.name      = name,//附件名称
    this.size      = size,//大小
    this.imageUri  = imageUri,//大图地址
    this.number    = number, //编号
    this.title     = title,//标题
    this.subTitle = subTitle,//标题
    this.imgUrl    = imgUrl,//图片url
    this.summary   = summary, //摘要
    this.customType= customType, //消息类型，1、需求单、2：报价单，3、需求订单
    this.btnTxt    = btnTxt, //按钮文本
    this.enable    = enable //按钮状态：0：禁用，1：启用
  }
}